package jmlee.basic;

public class J02_Math2Java {

	public static void main(String[] args) {
		
		int x, y, z ,  s, v, g, t, s1;
		int aa, bb, cc, dd, ss;

 
		x=2;
		y=3;
		z=4;
		s=5;
		v=6;
		g=7;
		t=8;
		
		aa=3*x;
		bb= 3*x+y;
		cc=  x+y/7;
		dd = (3*x+y)/(z+2);
		ss = s+v*t+1/2*g*(t*t);
	
		System.out.println("x="+x + ", "+"y="+y + ", "+"z="+z 
				          + ", "+"s="+s + ", "+"v="+v +", g="+g+ ", t="+t);
		System.out.println("3x"+"="+aa);
		System.out.println("3x+y="+bb);
		System.out.println("(x+y)/7="+cc);
		System.out.println("(3x+y)/(z+2)="+dd);

		System.out.println(ss+"=s+vt+1/2g(t*t)");


	}

}
